home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 38 / Amiga Format CD38 (1999-03-15)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-04].iso / -seriously_amiga- / programming / other / cop / ddts / startup.ddt < prev   
Text File  |  1999-01-25  |  12KB  |  587 lines

  1. ******************************************************************************
  2. ** COP    startup data description table                        **
  3. ** © 1996-1998 THOR-Software                            **
  4. **--------------------------------------------------------------------------**
  5. ** See COP.doc for description of the entries                    **
  6. ******************************************************************************
  7.  
  8. ;Define some gurus
  9. ##increment 1
  10. ##offset 2
  11. ##guru
  12. "bus error"
  13. "address error"
  14. "illegal instruction"
  15. "zero divide"
  16. "chk instruction"
  17. "TRAPV instruction"
  18. "privilege violation"
  19. "trace"
  20. "line A emulator"
  21. "line F emulator"
  22. "emulator interrupt"
  23. "coprocessor protocol violation"
  24. "format error"
  25. "reserved autovector $0f"
  26. "reserved autovector $10"
  27. "reserved autovector $11"
  28. "reserved autovector $12"
  29. "reserved autovector $13"
  30. "reserved autovector $14"
  31. "reserved autovector $15"
  32. "reserved autovector $16"
  33. "reserved autovector $17"
  34. "spurious interrupt"
  35. "level 1 IRQ autovector"
  36. "level 2 IRQ autovector"
  37. "level 3 IRQ autovector"
  38. "level 4 IRQ autovector"
  39. "level 5 IRQ autovector"
  40. "level 6 IRQ autovector"
  41. "level 7 IRQ autovector"
  42. "trap #0"
  43. "trap #1"
  44. "trap #2"
  45. "trap #3"
  46. "trap #4"
  47. "trap #5"
  48. "trap #6"
  49. "trap #7"
  50. "trap #8"
  51. "trap #9"
  52. "trap #a"
  53. "trap #b"
  54. "trap #c"
  55. "trap #d"
  56. "trap #e"
  57. "trap #f"
  58. "FPCP branch or set on unordered condition"
  59. "FPCP inexact result"
  60. "FPCP divide by zero"
  61. "FPCP underflow"
  62. "FPCP operand error"
  63. "FPCP overflow"
  64. "FPCP signaling NAN"
  65. "FPCP reserved exception"
  66. "MMU configuration error"
  67. "reserved autovector $ed"
  68. "reserved autovector $ee"
  69. "reserved autovector $ef"
  70. "unimplemented effective address"
  71. "unimplemented integer instruction"
  72. "reserved autovector $f2"
  73. "reserved autovector $f3"
  74. "reserved autovector $f4"
  75. "reserved autovector $f5"
  76. "reserved autovector $f6"
  77. "reserved autovector $f7"
  78. "reserved autovector $f8"
  79. "reserved autovector $f9"
  80. "reserved autovector $fa"
  81. "reserved autovector $fb"
  82. "reserved autovector $fc"
  83. "reserved autovector $fd"
  84. "reserved autovector $fe"
  85. "reserved autovector $ff"
  86.  
  87. ;Specific alerts
  88. ##offset $01000001
  89. "68K exeption vector checksum"
  90. "execbase checksum bad"
  91. "library checksum failure"
  92. ##offset $81000005
  93. "memory corrupt"
  94. "no memory for interrupt server"
  95. ##offset $01000007
  96. "initStruct failed"
  97. "semaphore in illegal state"
  98. "memory freed twice"
  99. ##offset $8100000A
  100. "illegal 68K exection taken"
  101. ##offset $0100000B
  102. "attempt to reuse active IORequest"
  103. "memory insane"
  104. "IO attempted on closed IORequest"
  105. "memory header not located"
  106. "invalid message semaphore"
  107. ##offset $810000FF
  108. "uninitialized quick interrupt"
  109.  
  110. ;------- graphics.library
  111. ##offset $82010000
  112. "gfx out of memory"
  113. "gfx out of memory for monitor specs"
  114. ##offset $82010006
  115. "gfx out of memory for long frame"
  116. "gfx out of memory for short frame"
  117. "gfx out of memory for TmpRas"
  118. "gfx out of memory for BltBitMap"
  119. "gfx out of memory for regions"
  120. ##offset $82010030
  121. "gfx out of memory for MakeVPort"
  122. ##offset $0200000C
  123. "gfx new object failed"
  124. "gfx free object failed"
  125. ##offset $82011234
  126. "gfx emercency memory not available"
  127. ##offset $02000401
  128. "gfx obsolete font"
  129.  
  130. ;------ layers.library
  131. ##offset $83010000
  132. "layers out of memory"
  133.  
  134. ;------ intuition.library
  135. ##offset $84000001
  136. "intuition unknown gadget type"
  137. ##offset $04000001
  138. "intuition bad gadget type"
  139. ##offset $84010002
  140. "intuition no mem for CreatePort"
  141. ##offset $04010003
  142. "intuition no mem for item plane"
  143. "intuition sub allocation failed"
  144. ##offset $84010005
  145. "intuition plane allocation failed"
  146. ##offset $84000006
  147. "intuition box top < RelZero"
  148. ##offset $84010007
  149. "intuition open screen out of mem"
  150. "intuition raster alloc failed"
  151. ##offset $84000009
  152. "intuition open sys screen unknown type"
  153. ##offset $8401000A
  154. "intuition add SW gadget no mem"
  155. "intuition open window no mem"
  156. ##offset $8400000C
  157. "intuition bad state return entering intuition"
  158. "intuition bad message received by IDCMP"
  159. "intuition weird echo causing incomprehension"
  160. "intuition couldn't open the Console Device"
  161. "intuition skipped obtaining a sem"
  162. "intuition obtained a sem in bad order"
  163.  
  164. ;------ dos.library
  165. ##offset $07010001
  166. "dos no mem at startup"
  167. "dos EndTask didn't"
  168. "dos Qpkt failure"
  169. "dos unexpected packet received"
  170. "dos freevec failed"
  171. "dos disk block sequence error"
  172. "dos bitmap corrupt"
  173. "dos key aleady defined"
  174. "dos invalid checksum"
  175. "dos disk error"
  176. "dos key out of range"
  177. "dos bad overlay"
  178. "dos invalid packed for cli/shell"
  179. "dos filehandle reclosed"
  180.  
  181. ;------ ramlib.library
  182. ##offset $08000001
  183. "ramlib overlays invalid"
  184.  
  185. ;------ expansion.library
  186. ##offset $0A000001
  187. "expansion freeed free region"
  188.  
  189. ;------ console.device
  190. ##offset $11000001
  191. "console can't open initial window"
  192.  
  193. ;------ trackdisk.device
  194. ##offset $14000001
  195. "trackdisk calibrate seek error"
  196. "trackdisk delay error on timer wait"
  197.  
  198. ;------    timer.device
  199. ##offset $15000001
  200. "timer bad request"
  201. "timer power supply bad ticks"
  202.  
  203. ;------    disk.resource
  204. ##offset $21000001
  205. "disk get unit has already disk"
  206. "disk interrupt no active unit"
  207.  
  208. ;------ bootstrap
  209. ##offset $30000001
  210. "bootstrap code returned error"
  211.  
  212. ;------ workbench
  213. ##offset $B1000001
  214. "workbench missing fonts"
  215. ##offset $31000001
  216. "workbench bad startupmsg1"
  217. "workbench bad startupmsg2"
  218. "workbench bad IO msg"
  219. ##offset $B1010009
  220. "workbench relayout toolmenu failed"
  221.  
  222. ;First, we include some of the main offsets
  223. ##increment -6        ;Default increment for libs
  224.             ;we don't set the bias, this is done by the libs...
  225.  
  226. ;exec first
  227. ##vectors exec.library    ;name of the game
  228. ##include FD:exec_lib.fd
  229. ;gfx
  230. ##vectors graphics.library
  231. ##include FD:graphics_lib.fd
  232. ;layers
  233. ##vectors layers.library
  234. ##include FD:layers_lib.fd
  235. ;intuituition
  236. ##vectors intuition.library
  237. ##include FD:intuition_lib.fd
  238. ;dos
  239. ##vectors dos.library
  240. ##include FD:dos_lib.fd
  241. ;utility
  242. ##vectors utility.library
  243. ##include FD:utility_lib.fd
  244. ;gadtools.library
  245. ##vectors gadtools.library
  246. ##include FD:gadtools_lib.fd
  247. ;iffparse.library
  248. ##vectors iffparse.library
  249. ##include FD:iffparse_lib.fd
  250. ;workbench.library
  251. ##vectors workbench.library
  252. ##include FD:workbench_lib.fd
  253.  
  254. ;Include your own stuff here...
  255.  
  256.  
  257. ;We know involve here the pseudo-assembler...
  258. ;hope it works...
  259.  
  260. ##equate            ;we now define some equates
  261.  
  262. ##include INCLUDE:exec/lists.i
  263. ##include INCLUDE:exec/nodes.i
  264. ##include INCLUDE:exec/interrupts.i
  265. ##include INCLUDE:exec/libraries.i
  266. ##include INCLUDE:exec/ports.i
  267. ##include INCLUDE:exec/tasks.i
  268. ##include INCLUDE:exec/semaphores.i
  269.                 ;we are now ready to define execbase !
  270. ##node exec.library        ;Define execbase
  271. ##include INCLUDE:exec/execbase.i
  272.  
  273. ##equate
  274. ##include INCLUDE:utility/tagitem.i
  275.  
  276. ##equate
  277. ##include INCLUDE:graphics/gfx.i
  278. ##include INCLUDE:graphics/gfxnodes.i
  279. ##include INCLUDE:graphics/copper.i
  280. ##include INCLUDE:graphics/view.i
  281. ##include INCLUDE:graphics/displayinfo.i
  282. ##include INCLUDE:graphics/monitor.i
  283.  
  284. ##node graphics.library
  285. ##include INCLUDE:graphics/gfxbase.i
  286.  
  287. ##node dos.library
  288.  STRUCTURE DosLibrary,0
  289.     STRUCT  dl_lib,LIB_SIZE
  290.     APTR    dl_Root         * Pointer to RootNode, described below
  291.     APTR    dl_GV         * Pointer to BCPL global vector
  292.     LONG    dl_A2         * BCPL standard register values
  293.     LONG    dl_A5
  294.     LONG    dl_A6
  295.     APTR    dl_Errors         * PRIVATE pointer to array of error msgs
  296.     APTR    dl_TimeReq         * PRIVATE pointer to timer request 
  297.     APTR    dl_UtilityBase   * PRIVATE pointer to utility library base
  298.     APTR    dl_IntuitionBase * PRIVATE pointer to intuition library base
  299.     LABEL   dl_SIZEOF *     DosLibrary
  300.  
  301. ;and now the hardware stuff... we do not use the system includes here,
  302. ;cause they are equates...
  303. ;but we need relative entries !
  304. ##relative $dff000
  305. ##offset 0
  306.     UWORD    CustomBase     
  307.     UWORD    dmaconr     
  308.     UWORD    vposr        
  309.     UWORD    vhposr        
  310.     UWORD    dskdatr     
  311.     UWORD    joy0dat     
  312.     UWORD    joy1dat     
  313.     UWORD    clxdat        
  314.  
  315.     UWORD    adkconr     
  316.     UWORD    pot0dat     
  317.     UWORD    pot1dat     
  318.     UWORD     potinp        
  319.     UWORD    serdatr     
  320.     UWORD    dskbytr     
  321.     UWORD    intenar     
  322.     UWORD    intreqr     
  323.  
  324.     APTR    dskpt        
  325.     UWORD    dsklen        
  326.     UWORD    dskdat        
  327.     UWORD    refptr        
  328.     UWORD    vposw        
  329.     UWORD    vhposw        
  330.     UWORD    copcon        
  331.     UWORD    serdat        
  332.     UWORD    serper        
  333.     UWORD    potgo        
  334.     UWORD    joytest     
  335.     UWORD    strequ        
  336.     UWORD    strvbl        
  337.     UWORD    strhor        
  338.     UWORD    strlong     
  339.  
  340.     UWORD    bltcon0     
  341.     UWORD    bltcon1     
  342.     UWORD    bltafwm     
  343.     UWORD    bltalwm     
  344.     APTR    bltcpt        
  345.     APTR    bltbpt        
  346.     APTR    bltapt        
  347.     APTR    bltdpt        
  348.     UWORD    bltsize  
  349.     UWORD    bltsizv     
  350.     UWORD    bltsizh     
  351.  
  352.     WORD    bltcmod     
  353.     WORD    bltbmod     
  354.     WORD    bltamod   
  355.     WORD    bltdmod     
  356.  
  357. ##offset $70
  358.     UWORD    bltcdat     
  359.     UWORD    bltbdat     
  360.     UWORD    bltadat     
  361.  
  362. ##offset $7c
  363.     UWORD    deniseid    
  364.     UWORD    dsksync     
  365.  
  366. ##offset $80
  367.     APTR    cop1lc        
  368.     APTR    cop2lc        
  369.     UWORD    copjmp1     
  370.     UWORD    copjmp2   
  371.     UWORD    copins        
  372.     UWORD    diwstrt     
  373.     UWORD    diwstop     
  374.     UWORD    ddfstrt     
  375.     UWORD    ddfstop     
  376.     UWORD    dmacon        
  377.     UWORD    clxcon        
  378.     UWORD    intena        
  379.     UWORD    intreq        
  380.     UWORD    adkcon        
  381.  
  382. ##offset $a0
  383.     APTR    ac_ptr0
  384.     UWORD    ac_len0
  385.     UWORD    ac_per0
  386.     UWORD    ac_vol0
  387.     UWORD    ac_dat0
  388.  
  389. ##offset $b0
  390.     APTR    ac_ptr1
  391.     UWORD    ac_len1
  392.     UWORD    ac_per1
  393.     UWORD    ac_vol1
  394.     UWORD    ac_dat1
  395.  
  396. ##offset $c0
  397.     APTR    ac_ptr2
  398.     UWORD    ac_len2
  399.     UWORD    ac_per2
  400.     UWORD    ac_vol2
  401.     UWORD    ac_dat2
  402.  
  403. ##offset $d0
  404.     APTR    ac_ptr3
  405.     UWORD    ac_len3
  406.     UWORD    ac_per3
  407.     UWORD    ac_vol3
  408.     UWORD    ac_dat3
  409.  
  410. ##offset $e0
  411.     APTR    bplpt0
  412.     APTR    bplpt1
  413.     APTR     bplpt2
  414.     APTR    bplpt3
  415.     APTR    bplpt4
  416.     APTR    bplpt5
  417.     APTR    bplpt6
  418.     APTR    bplpt7
  419.  
  420. ##offset $100
  421.     UWORD    bplcon0     
  422.     UWORD    bplcon1     
  423.     UWORD    bplcon2     
  424.     UWORD    bplcon3     
  425.     WORD    bpl1mod
  426.     WORD    bpl2mod     
  427.     WORD    bplcon4     
  428.     WORD    clxcon2     
  429.  
  430. ##offset $110
  431.     UWORD    bpldat0        
  432.     UWORD    bpldat1
  433.     UWORD    bpldat2        
  434.     UWORD    bpldat3        
  435.     UWORD    bpldat4        
  436.     UWORD    bpldat5        
  437.     UWORD    bpldat6        
  438.     UWORD    bpldat7        
  439.  
  440. ##offset $120
  441.     APTR    sprpt0
  442.     APTR    sprpt1
  443.     APTR    sprpt2
  444.     APTR    sprpt3
  445.     APTR    sprpt4
  446.     APTR    sprpt5
  447.     APTR    sprpt6
  448.     APTR    sprpt7
  449.  
  450. ##offset $140
  451.     UWORD    sd_pos0
  452.     UWORD    sd_ctl0
  453.     UWORD    sd_dataa0
  454.     UWORD    sd_datab0
  455.  
  456.     UWORD    sd_pos1
  457.     UWORD    sd_ctl1
  458.     UWORD    sd_dataa1
  459.     UWORD    sd_datab1
  460.  
  461.     UWORD    sd_pos2
  462.     UWORD    sd_ctl2
  463.     UWORD    sd_dataa2
  464.     UWORD    sd_datab2
  465.  
  466.     UWORD    sd_pos3
  467.     UWORD    sd_ctl3
  468.     UWORD    sd_dataa3
  469.     UWORD    sd_datab3
  470.  
  471.     UWORD    sd_pos4
  472.     UWORD    sd_ctl4
  473.     UWORD    sd_dataa4
  474.     UWORD    sd_datab4
  475.  
  476.     UWORD    sd_pos5
  477.     UWORD    sd_ctl5
  478.     UWORD    sd_dataa5
  479.     UWORD    sd_datab5
  480.  
  481.     UWORD    sd_pos6
  482.     UWORD    sd_ctl6
  483.     UWORD    sd_dataa6
  484.     UWORD    sd_datab6
  485.  
  486.     UWORD    sd_pos7
  487.     UWORD    sd_ctl7
  488.     UWORD    sd_dataa7
  489.     UWORD    sd_datab7
  490.  
  491. ##offset $180
  492.     UWORD    color00
  493.     UWORD    color01
  494.     UWORD    color02
  495.     UWORD    color03
  496.     UWORD    color04
  497.     UWORD    color05
  498.     UWORD    color06
  499.     UWORD    color07
  500.     UWORD    color08
  501.     UWORD    color09
  502.     UWORD    color10
  503.     UWORD    color11
  504.     UWORD    color12
  505.     UWORD    color13
  506.     UWORD    color14
  507.     UWORD    color15
  508.     UWORD    color16
  509.     UWORD    color17
  510.     UWORD    color18
  511.     UWORD    color19
  512.     UWORD    color20
  513.     UWORD    color21
  514.     UWORD    color22
  515.     UWORD    color23
  516.     UWORD    color24
  517.     UWORD    color25
  518.     UWORD    color26
  519.     UWORD    color27
  520.     UWORD    color28
  521.     UWORD    color29
  522.     UWORD    color30
  523.     UWORD    color31
  524.  
  525. ##offset $1c0
  526.     UWORD    htotal        
  527.     UWORD    hsstop        
  528.     UWORD    hbstrt        
  529.     UWORD    hbstop        
  530.     UWORD    vtotal        
  531.     UWORD    vsstop        
  532.     UWORD    vbstrt        
  533.     UWORD    vbstop        
  534.     UWORD    sprhstrt    
  535.     UWORD    sprhstop    
  536.     UWORD    bplhstrt    
  537.     UWORD    bplhstop    
  538.     UWORD    hhposw        
  539.     UWORD    hhposr        
  540.     UWORD    beamcon0    
  541.     UWORD    hsstrt        
  542.     UWORD    vsstrt        
  543.     UWORD    hcenter     
  544.     UWORD    diwhigh
  545. ##offset $1fc
  546.     UWORD    fmode        
  547.  
  548. ##relative $bfe001
  549. ##offset 0
  550. ##increment $100
  551. ciaapra
  552. ciaaprb
  553. ciaaddra
  554. ciaaddrb
  555. ciaatalo
  556. ciaatahi
  557. ciaatblo
  558. ciaatbhi    
  559. ciaatodlow    
  560. ciaatodmid    
  561. ciaatodhi    
  562. ciaasdr        
  563. ciaaicr        
  564. ciaacra        
  565. ciaacrb        
  566.  
  567. ##relative $bfd000
  568. ##offset 0
  569. ##increment $100
  570. ciabpra        
  571. ciabprb        
  572. ciabddra    
  573. ciabddrb    
  574. ciabtalo    
  575. ciabtahi    
  576. ciabtblo    
  577. ciabtbhi    
  578. ciabtodlow    
  579. ciabtodmid    
  580. ciabtodhi    
  581. ciabsdr        
  582. ciabicr        
  583. ciabcra        
  584. ciabcrb        
  585.  
  586. ##end
  587.